#include <stdio.h>
#include <getopt.h>
#define COMPRIMIR 1
#define DESCOMPRIMIR 2


int main(int argc, char *argv[]){

	int option_char;
	int option_action;
	char *path;
	option_char=getopt(argc,argv,"c:x:");
	switch (option_char) {
		case 'c':
			option_action=COMPRIMIR;
			path=optarg;
			printf ("Se va a comprimir el siguiente path: %s",path);
			break;
		case 'x':
			option_action=DESCOMPRIMIR;
			path=optarg;
			printf ("Se va a descomprimir el siguiente path: %s",path);
			break;

		default:
			printf("Opcion invalida\n");
			break;

	}

return 0;
}
